using SqlSugar.IOC;

namespace DiLu.Expansion.DataStorage.SqlSugarExpansion;

/// <summary>
///     Orm配置
/// </summary>
public class SqlSugarConnectionConfig
{
    /// <summary>
    ///     数据库名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    ///     连接字符串
    /// </summary>
    public string ConnectionString { get; set; }

    /// <summary>
    ///     数据库类型
    /// </summary>
    public IocDbType DbType { get; set; } = IocDbType.SqlServer;

    /// <summary>
    ///     记录日志时间（秒）
    /// </summary>
    public int RecordLogSecond { get; set; } = 5;
}